package com.empire.module.spider.framework.web.config;

import com.empire.framework.swagger.config.empireProSwaggerAutoConfiguration;
import org.springdoc.core.GroupedOpenApi;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * spider 模块的 web 组件的 Configuration
 *
 * @author xgd
 */
@Configuration(proxyBeanMethods = false)
public class SpiderWebConfiguration {

    /**
     * spider 模块的 API 分组
     */
    @Bean
    public GroupedOpenApi spiderGroupedOpenApi() {
        return empireProSwaggerAutoConfiguration.buildGroupedOpenApi("spider");
    }

}
